import type { FormRules } from "element-plus";
import { reactive } from "vue";

// 表单验证规则
export const deptTypeFormRules = reactive<FormRules>({
    name: [
        { required: true, message: "请输入部门类型名称", trigger: "blur" },
        { min: 1, max: 50, message: "名称长度应在 1 到 50 个字符", trigger: "blur" },
    ],
});
